Supporting TCustomListView Descendants
(aside from TListView, TExtListView and TEnhListView of course)
You may be asking yourself why TExportListView
doesn't automatically support these creatures. Well, it can't do it directly since TCustomListView
does not expose it's Items property.
How do we do it then? (Requires Registered Version)
- Put the unit (CustListView2.pas
for example) in the uses clause of ExportLVReg.pas and ExportLV.pas
- Replace all TListView occurrences with TCustListView2
(make sure you have "Whole Words" and "Global" checked in the
Replace Text Dialog) in ExportLView.pas and ExportLVReg.pas
- Replace all TExportListView occurrences with TExportCustListView2
in ExportLVReg.pas
- Ensure that TCustListView2 is in the same package
as TExportCustListView2.